package com.java.advance.order.server.domain.pojo;

import java.util.Date;

public class Msg {
    private Long id;

    private String content;

    private Integer type;

    private String status;

    private Date createTime;

    public Msg() {
    }

    public Msg(String content, Integer type, String status, Date createTime) {
        this.content = content;
        this.type = type;
        this.status = status;
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}